package com.ruoyi.common.domain;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 【请填写功能名称】对象 iot_unlock_log
 *
 * @author yfkj
 * @date 2021-10-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IotUnlockLogModle
{
    private static final long serialVersionUID = 1L;
    /** 物联网设备操作记录主键 */
    @ApiModelProperty(value =  "开锁记录主键")
    private Long iotUnlockLogId;

    /** 锁资产Id */
    @ApiModelProperty(value =  "锁资产Id")
    private Long assetId;

    /** 锁资产类型编码 LOCK机柜锁  ELOCK电磁锁*/
    @ApiModelProperty(value =  "锁资产类型编码")
    private String assetTypeCode;

    /** 用户id */
    @ApiModelProperty(value =  "用户id")
    private Long userId;

    /** 用户名 */
    @ApiModelProperty(value =  "用户名称")
    private String userName;

    /** 开锁方式 1 扫码 2 */
    @ApiModelProperty(value =  "开锁方式 1 扫码 2")
    private Integer unlockWay;

    /** 执行结果状态  -1 执行中 0 失败 1 成功 */
    @ApiModelProperty(value =  "执行结果状态  -1 执行中 0 失败 1 成功")
    private Integer execStatus;

    /** 命令下发时间戳 */
    @ApiModelProperty(value =  "命令下发时间戳")
    private Long sendTime;

    @ApiModelProperty(value =  "命令发送状态")
    private Integer sendStatus;

    @ApiModelProperty(value =  "机柜锁打开后是否重新关闭 1关闭 0未关闭")
    private Integer rocklockStatus;

    @ApiModelProperty(value =  "机柜锁打开后是否重新关闭时间")
    private Long relockTime;

    @ApiModelProperty(value =  "执行成功时间")
    private Long successTime;

    @ApiModelProperty(value =  "命令发送备注")
    private String sendRemark;

    @ApiModelProperty(value =  "用户手机号")
    private String userPhone;

    @ApiModelProperty(value =  "使用部门名称")
    private String deptName;

}

